import json

# 定义一个函数读取data/xx.json文件
def read_json_data():
    with open("../data/tpshop_register.json","r",encoding="utf-8") as f:
        json_data = json.load(f)
        # print(json_data)

        list_data = []
        for item in json_data:
            tem = tuple(item.values())
            # print(tem)
            list_data.append(tem)
        # print(list_data)
        return list_data

#
# if __name__ == '__main__':
#     read_json_data()